From e84050c558a7037a9686d44696e92292189ddc90 Mon Sep 17 00:00:00 2001 From: LI Daobing Date: Wed, 22 Sep 2010 20:40:54 +0800 Subject: [PATCH] Imported Debian patch 0.1.2-1 --- debian/changelog | 69 ++++++++++++++++++++++++++++++++++++ debian/clean | 17 +++++++++ debian/compat | 1 + debian/control | 42 ++++++++++++++++++++++ debian/copyright | 36 +++++++++++++++++++ debian/docs | 2 ++ debian/libopencc-dev.install | 5 +++ debian/libopencc1.install | 3 ++ debian/libopencc1.symbols | 9 +++++ debian/opencc.install | 2 ++ debian/rules | 16 +++++++++ debian/source/format | 1 + debian/watch | 3 ++ 13 files changed, 206 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/libopencc-dev.install create mode 100644 debian/libopencc1.install create mode 100644 debian/libopencc1.symbols create mode 100644 debian/opencc.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9316a64 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,69 @@ +opencc (0.1.2-1) unstable; urgency=low + + * New upstream release. + * debian/libopencc1.symbols: updated. + + -- LI Daobing Wed, 22 Sep 2010 20:40:54 +0800 + +opencc (0.1.1-2) unstable; urgency=low + + *debian/control: add Conflicts to libopencc0 (Closes: #596434) + + -- Asias He Sun, 12 Sep 2010 14:58:18 +0800 + +opencc (0.1.1-1) unstable; urgency=low + + [ Asias He ] + * New upstream release (closes: #591076). + * debian/control: bump standards version to 3.9.1. + * debian/watch: use googlecode.debian.net. + + [ LI Daobing ] + * debian/clean: added. + + -- LI Daobing Wed, 11 Aug 2010 22:04:12 +0800 + +opencc (0.1.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - bump standards version to 3.9.1. + - libopencc0 -> libopecc1 (closes: #590473). + - libopencc1 replaces libopencc0. + * libopencc0 -> libopencc1: + - debian/libopencc0.install => debian/libopencc1.install + - debian/libopencc0.symbols => debian/libopencc1.symbols + + -- LI Daobing Thu, 29 Jul 2010 23:05:17 +0800 + +opencc (0.0.5-1) unstable; urgency=low + + * New upstream release. + * debain/control: no longer build depends on python. + * debian/opencc.install: move .mo files to libopencc0. + * debian/libopencc0.install: install .mo files. + * debian/opencc_dict.1: deleted. + * debian/opencc.manpages: deleted. + + -- LI Daobing Wed, 21 Jul 2010 22:42:32 +0800 + +opencc (0.0.4-1) unstable; urgency=low + + * New upstream release. + * debian/control: bump standards version to 3.9.0. + + -- LI Daobing Fri, 16 Jul 2010 23:52:08 +0800 + +opencc (0.0.3-1) unstable; urgency=low + + * New upstream release. + * debian/opencc.install: updated. + * debian/control: opencc depends on libopencc0 at the same version. + + -- LI Daobing Tue, 22 Jun 2010 19:08:33 +0800 + +opencc (0.0.2-1) unstable; urgency=low + + * Initial release (Closes: #585621) + + -- LI Daobing Sat, 19 Jun 2010 18:27:20 +0800 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..0777230 --- /dev/null +++ b/debian/clean @@ -0,0 +1,17 @@ +test/mix2zhs.ans +test/mix2zhs.in +test/mix2zhs.ini +test/mix2zht.ans +test/mix2zht.in +test/mix2zht.ini +test/opencc +test/simp_to_trad_characters.ocd +test/simp_to_trad_phrases.ocd +test/trad_to_simp_characters.ocd +test/trad_to_simp_phrases.ocd +test/zhs2zht.ans +test/zhs2zht.in +test/zhs2zht.ini +test/zht2zhs.ans +test/zht2zhs.in +test/zht2zhs.ini diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4054b6e --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: opencc +Priority: optional +Maintainer: IME Packaging Team +Uploaders: LI Daobing , Asias He +Build-Depends: debhelper (>= 7.0.50~), autotools-dev +Standards-Version: 3.9.1 +Section: libs +Homepage: http://code.google.com/p/open-chinese-convert +Vcs-Bzr: lp:~pkg-ime/opencc/debian-opencc +Vcs-Browser: https://code.launchpad.net/~pkg-ime/opencc/debian-opencc + +Package: libopencc-dev +Section: libdevel +Architecture: any +Depends: libopencc1 (= ${binary:Version}), ${misc:Depends} +Description: simplified-traditional chinese conversion library - development + opencc is a library for converting character between traditional chinese and + simplified chinese. + . + This package includes the development support files. + +Package: libopencc1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: libopencc0 +Conflicts: libopencc0 +Description: simplified-traditional chinese conversion library - runtime + opencc is a library for converting character between traditional chinese and + simplified chinese. + . + This package includes the shared library. + +Package: opencc +Section: utils +Architecture: any +Depends: libopencc1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: simplified-traditional chinese conversion tool + opencc is a library for converting character between traditional chinese and + simplified chinese. + . + This package includes the conversion tool. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..66da74d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +This work was packaged for Debian by: + + LI Daobing on Fri, 11 Jun 2010 19:54:13 +0800 + +It was downloaded from http://code.google.com/p/open-chinese-convert + +Upstream Author: + + BYVoid + +Copyright: + + Copyright (C) 2010 BYVoid + +License: + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +On Debian systems, the complete text of the Apache version 2.0 license +can be found in `/usr/share/common-licenses/Apache-2.0'. + +The Debian packaging is: + + Copyright (C) 2010 LI Daobing + +and is licensed under Apache License, Version 2.0. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/libopencc-dev.install b/debian/libopencc-dev.install new file mode 100644 index 0000000..68a175d --- /dev/null +++ b/debian/libopencc-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la diff --git a/debian/libopencc1.install b/debian/libopencc1.install new file mode 100644 index 0000000..30186ac --- /dev/null +++ b/debian/libopencc1.install @@ -0,0 +1,3 @@ +usr/lib/lib*.so.* +usr/share/opencc/* +usr/share/locale/* diff --git a/debian/libopencc1.symbols b/debian/libopencc1.symbols new file mode 100644 index 0000000..bf04498 --- /dev/null +++ b/debian/libopencc1.symbols @@ -0,0 +1,9 @@ +libopencc.so.1 libopencc1 #MINVER# + opencc_close@Base 0.1.0 + opencc_convert@Base 0.1.0 + opencc_convert_utf8@Base 0.1.0 + opencc_dict_load@Base 0.1.0 + opencc_errno@Base 0.1.0 + opencc_open@Base 0.1.0 + opencc_perror@Base 0.1.0 + opencc_set_conversion_mode@Base 0.1.2 diff --git a/debian/opencc.install b/debian/opencc.install new file mode 100644 index 0000000..7053434 --- /dev/null +++ b/debian/opencc.install @@ -0,0 +1,2 @@ +usr/bin/* +usr/share/man/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ccef6f5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- --enable-static diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..8aa77f8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://googlecode.debian.net/p/open-chinese-convert/opencc-(\d+.*)\.tar\.gz + -- 2.30.2